package com.nanhai.buddhist.college.module.collegebase.service.studentrewardpunish;



import com.nanhai.buddhist.college.framework.common.pojo.PageResult;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentrewardpunish.vo.StudentRewardPunishCreateReqVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentrewardpunish.vo.StudentRewardPunishExportReqVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentrewardpunish.vo.StudentRewardPunishPageReqVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentrewardpunish.vo.StudentRewardPunishUpdateReqVO;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.studentrewardpunish.StudentRewardPunishDO;

import javax.validation.Valid;
import java.util.Collection;
import java.util.List;

/**
 * 奖励惩罚表 Service 接口
 *
 * @author AKai
 */
public interface StudentRewardPunishService {

    /**
     * 创建奖励惩罚表
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    String createStudentRewardPunish(@Valid StudentRewardPunishCreateReqVO createReqVO);

    /**
     * 更新奖励惩罚表
     *
     * @param updateReqVO 更新信息
     */
    void updateStudentRewardPunish(@Valid StudentRewardPunishUpdateReqVO updateReqVO);

    /**
     * 删除奖励惩罚表
     *
     * @param id 编号
     */
    void deleteStudentRewardPunish(String id);

    /**
     * 获得奖励惩罚表
     *
     * @param id 编号
     * @return 奖励惩罚表
     */
    StudentRewardPunishDO getStudentRewardPunish(String id);

    /**
     * 获得奖励惩罚表列表
     *
     * @param ids 编号
     * @return 奖励惩罚表列表
     */
    List<StudentRewardPunishDO> getStudentRewardPunishList(Collection<String> ids);

    /**
     * 获得奖励惩罚表分页
     *
     * @param pageReqVO 分页查询
     * @return 奖励惩罚表分页
     */
    PageResult<StudentRewardPunishDO> getStudentRewardPunishPage(StudentRewardPunishPageReqVO pageReqVO);

    /**
     * 获得奖励惩罚表列表, 用于 Excel 导出
     *
     * @param exportReqVO 查询条件
     * @return 奖励惩罚表列表
     */
    List<StudentRewardPunishDO> getStudentRewardPunishList(StudentRewardPunishExportReqVO exportReqVO);

    /**
     * 获取所有奖励惩罚接口
     * @return
     */
    List<StudentRewardPunishDO>  getStudentRewardPunishAllList(String type);

}
